package java6681.lesson09;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;

import java.net.URL;

/**
 * @author Junichiro
 * @description
 * @date 2021-05-08 21:05
 **/

public class ReadFile6681 extends Application{
        public static void main(String[] args) {
            launch(args);
        }

        @Override
        public void start(Stage primaryStage) throws Exception {
            URL url = getClass().getResource("ReadFile6681View.fxml");
            BorderPane borderPane = FXMLLoader.load(url);
            Scene scene = new Scene(borderPane);
            primaryStage.setScene(scene);
            primaryStage.setTitle("读取文本文件|字符缓冲流");
            primaryStage.show();
        }
    }
